tools: CMDs and APIs for Cache Monitoring Technology
authorChao Peng <chao.p.peng@linux.intel.com>
Thu, 9 Oct 2014 04:02:04 +0000 (12:02 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 15 Oct 2014 07:34:46 +0000 (08:34 +0100)
commit747187995dd8cb28dcac1db8851d60e54f85f8e4
treeb8e3e57e91e331a4d7e2e04f10b0bdcce3e9454f
parent4d57153b52a36183d58e8de6ba613929f906386a
tools: CMDs and APIs for Cache Monitoring Technology

Introduced some new xl commands to enable/disable Cache Monitoring
Technology(CMT) feature.

The following two commands is to attach/detach the CMT feature
to/from a certain domain.

$ xl psr-cmt-attach domid
$ xl psr-cmt-detach domid

This command is to display the CMT information, such as L3 cache
occupancy.

$ xl psr-cmt-show cache_occupancy <domid>

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
12 files changed:
docs/man/xl.pod.1
tools/libxc/Makefile
tools/libxc/include/xenctrl.h
tools/libxc/xc_msr_x86.h [new file with mode: 0644]
tools/libxc/xc_psr.c [new file with mode: 0644]
tools/libxl/Makefile
tools/libxl/libxl.h
tools/libxl/libxl_psr.c [new file with mode: 0644]
tools/libxl/libxl_types.idl
tools/libxl/xl.h
tools/libxl/xl_cmdimpl.c
tools/libxl/xl_cmdtable.c